﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace X.WPF.Controls.Enums
{
    /// <summary>
    /// 画布型状类型
    /// </summary>
    public enum CanvasShapeType
    {
        /// <summary>
        /// 矩形
        /// </summary>
        [EnumMember]
        [Description("矩形")]
        Rectangle = 0,

        /// <summary>
        /// 圆形
        /// </summary>
        [EnumMember]
        [Description("圆形")]
        Circle = 1,

        /// <summary>
        /// 多边形
        /// </summary>
        [EnumMember]
        [Description("多边形")]
        Polygon = 2,

        /// <summary>
        /// 多线段
        /// </summary>
        [EnumMember]
        [Description("多线段")]
        Polyline = 3,
    }
}
